home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / MSJV7_2B.ARJ / DEMORC.H < prev    next >
Text File  |  1992-03-01  |  7KB  |  181 lines

  1. /*
  2.  * demorc.h - Header file for OLE demo's resource file.
  3.  *
  4.  * Created by Microsoft Corporation.
  5.  * (c) Copyright Microsoft Corp. 1990 - 1992  All Rights Reserved
  6.  */
  7.  
  8. /* Application resource ID */
  9.  
  10. #define ID_APPLICATION 1
  11.  
  12. #define POS_FILEMENU    0
  13. /* File menu */
  14. #define IDM_NEW         0x100
  15. #define IDM_OPEN        0x101
  16. #define IDM_SAVE        0x102
  17. #define IDM_SAVEAS      0x103
  18. #define IDM_EXIT        0x104
  19. #define IDM_ABOUT       0x105
  20.  
  21. #define POS_EDITMENU    1
  22. /* Edit menu */
  23. #define IDM_CUT         0x200
  24. #define IDM_COPY        0x201
  25. #define IDM_PASTE       0x202
  26. #define IDM_PASTELINK   0x203
  27. #define IDM_CLEAR       0x204
  28. #define IDM_CLEARALL    0x205
  29. #define IDM_LINKS       0x206
  30.  
  31. /* Object popup menu */
  32. #define POS_OBJECT       9    // position of Object item in Edit menu
  33. #define IDM_OBJECT      0x210
  34. #define IDM_VERBMIN     0x211
  35. #define IDM_VERBMAX     0x220    // Put this up to 220 (15 verbs) !!!
  36. #define CVERBSMAX       (IDM_VERBMAX - IDM_VERBMIN + 1)
  37.  
  38. #define POS_OBJECTMENU  2
  39. #define IDM_INSERT       0x300
  40. #define IDM_INSERTFILE  0x301
  41.  
  42. #define IDM_UNDO        0x400    /* Only used internally */
  43. #define IDM_LOAD          0x401
  44. #define IDM_UPDATE      0x402
  45.  
  46.  
  47. /* Dialog box ids */
  48. #define DTPROP          1
  49. #define DTINVALIDLINK   2
  50. #define DTCREATE        3
  51.  
  52. #define IDD_LINKNAME    0x200
  53. #define IDD_AUTO          0x201    // Auto update
  54. #define IDD_MANUAL       0x202    // Manual update
  55. #define IDD_EDIT          0x203    // Edit Object button
  56. #define IDD_FREEZE       0x204    // Cancel Link button
  57. #define IDD_UPDATE       0x205    // Update Now Button
  58. #define IDD_CHANGE       0x206    // Change Links Button
  59. #define IDD_LINKDONE       0x207    // ???
  60. #define IDD_PLAY          0x208    // Activate Button
  61. #define IDD_LISTBOX       0x209    // List of Links List Box
  62. #define IDD_DESTROY     0x20A
  63.  
  64. #define IDD_YES         0x210
  65. #define IDD_NO          0x211    
  66. #define IDD_RETRY       0x212    
  67. #define IDD_SWITCH      0x213
  68. #define IDD_RETRY_TEXT1 0x214
  69. #define IDD_RETRY_TEXT2 0x215
  70.  
  71. /* String table constants */
  72. #define CBMESSAGEMAX       80
  73. #define IDS_APPNAME        0x100
  74. #define IDS_UNTITLED       0x101
  75. #define IDS_MAYBESAVE      0x102
  76. #define IDS_OPENFILE          0x103
  77. #define IDS_SAVEFILE          0x104
  78. #define IDS_INSERTFILE       0x105
  79. #define IDS_FILTER          0x106
  80. #define IDS_EXTENSION       0x107
  81. #define IDS_CHANGELINK     0x108
  82. #define IDS_ALLFILTER      0x109
  83. #define IDS_EMBEDDED       0x10a
  84. #define IDS_UPDATELINKS    0x10b
  85. #define IDS_RENAME         0x10c
  86. #define IDS_INVALID_LINK   0x10d
  87. #define IDS_SAVE_CHANGES   0x10e
  88. #define IDS_UPDATE_OBJ     0x110
  89. #define IDS_RETRY_TEXT1    0x111
  90. #define IDS_RETRY_TEXT2    0x112
  91.  
  92. /* Error messages */
  93. #define E_FAILED_TO_OPEN_FILE           0x200
  94. #define E_FAILED_TO_READ_FILE           0x201
  95. #define E_FAILED_TO_SAVE_FILE           0x202
  96. #define E_INVALID_FILENAME              0x203
  97. #define E_CREATE_FROM_TEMPLATE          0x204
  98. #define E_FAILED_TO_WRITE_OBJECT        0x205
  99. #define E_FAILED_TO_READ_OBJECT         0x206
  100. #define E_FAILED_TO_DELETE_OBJECT       0x207
  101. #define E_CLIPBOARD_CUT_FAILED          0x208
  102. #define E_CLIPBOARD_COPY_FAILED         0x209
  103. #define E_GET_FROM_CLIPBOARD_FAILED     0x20a
  104. #define E_FAILED_TO_CREATE_CHILD_WINDOW 0x20b
  105. #define E_FAILED_TO_CREATE_OBJECT        0x20c
  106. #define E_OBJECT_BUSY                      0x20d
  107. #define E_UNEXPECTED_RELEASE            0x20e
  108. #define E_FAILED_TO_LAUNCH_SERVER       0x20f
  109. #define E_FAILED_TO_UPDATE              0x210
  110. #define E_FAILED_TO_FREEZE              0x211
  111. #define E_FAILED_TO_UPDATE_LINK         0x212
  112. #define E_SERVER_BUSY                   0x213
  113. #define E_FAILED_TO_RECONNECT_OBJECT    0x214
  114. #define E_FAILED_TO_CONNECT               0x215
  115. #define E_FAILED_TO_RELEASE_OBJECT      0x216
  116. #define E_FAILED_TO_ALLOC               0x217
  117. #define E_FAILED_TO_LOCK                0x218     
  118. #define E_FAILED_TO_DO_VERB             0x219
  119.  
  120. #define W_IMPROPER_LINK_OPTIONS         0x300
  121. #define W_STATIC_OBJECT                 0x301
  122. #define W_FAILED_TO_CLONE_UNDO          0x302
  123. #define W_FAILED_TO_NOTIFY              0x303
  124.  
  125. #define SZAUTO    0x400
  126. #define SZMANUAL  0x401
  127. #define SZFROZEN  0x402
  128.  
  129. #define E_OLE_ERROR_PROTECT_ONLY          3 
  130. #define E_OLE_ERROR_MEMORY                4
  131. #define E_OLE_ERROR_STREAM                5
  132. #define E_OLE_ERROR_STATIC                6
  133. #define E_OLE_ERROR_BLANK                 7
  134. #define E_OLE_ERROR_DRAW                  8
  135. #define E_OLE_ERROR_METAFILE              9
  136. #define E_OLE_ERROR_ABORT                 10
  137. #define E_OLE_ERROR_CLIPBOARD             11
  138. #define E_OLE_ERROR_FORMAT                12
  139. #define E_OLE_ERROR_OBJECT                13
  140. #define E_OLE_ERROR_OPTION                14
  141. #define E_OLE_ERROR_PROTOCOL              15
  142. #define E_OLE_ERROR_ADDRESS               16
  143. #define E_OLE_ERROR_NOT_EQUAL             17
  144. #define E_OLE_ERROR_HANDLE                18
  145. #define E_OLE_ERROR_GENERIC               19
  146. #define E_OLE_ERROR_CLASS                 20
  147. #define E_OLE_ERROR_SYNTAX                21
  148. #define E_OLE_ERROR_DATATYPE              22
  149. #define E_OLE_ERROR_PALETTE               23
  150. #define E_OLE_ERROR_NOT_LINK              24
  151. #define E_OLE_ERROR_NOT_EMPTY             25
  152. #define E_OLE_ERROR_SIZE                  26
  153. #define E_OLE_ERROR_DRIVE                 27
  154. #define E_OLE_ERROR_NETWORK               28
  155. #define E_OLE_ERROR_NAME                  29
  156. #define E_OLE_ERROR_TEMPLATE              30
  157. #define E_OLE_ERROR_NEW                   31
  158. #define E_OLE_ERROR_EDIT                  32
  159. #define E_OLE_ERROR_OPEN                  33
  160. #define E_OLE_ERROR_NOT_OPEN              34
  161. #define E_OLE_ERROR_LAUNCH                35
  162. #define E_OLE_ERROR_COMM                  36
  163. #define E_OLE_ERROR_TERMINATE             37
  164. #define E_OLE_ERROR_COMMAND               38
  165. #define E_OLE_ERROR_SHOW                  39
  166. #define E_OLE_ERROR_DOVERB                40
  167. #define E_OLE_ERROR_ADVISE_NATIVE         41 
  168. #define E_OLE_ERROR_ADVISE_PICT           42
  169. #define E_OLE_ERROR_ADVISE_RENAME         43
  170. #define E_OLE_ERROR_POKE_NATIVE           44
  171. #define E_OLE_ERROR_REQUEST_NATIVE        45
  172. #define E_OLE_ERROR_REQUEST_PICT          46
  173. #define E_OLE_ERROR_SERVER_BLOCKED        47
  174. #define E_OLE_ERROR_REGISTRATION          48
  175. #define E_OLE_ERROR_ALREADY_REGISTERED    49
  176. #define E_OLE_ERROR_TASK                  50
  177. #define E_OLE_ERROR_OUTOFDATE             51
  178. #define E_OLE_ERROR_CANT_UPDATE_CLIENT    52
  179. #define E_OLE_ERROR_UPDATE                53
  180.  
  181.